//
//  MNDMacro.h
//  miniwangdai2
//
//  Created by Steven.Yung on 2017/3/29.
//  Copyright © 2017年 谭谭伟. All rights reserved.
//

#ifndef MNDMacro_h
#define MNDMacro_h

#define kMainScreenBounds [UIScreen mainScreen].bounds
#define kMainScreenHeight CGRectGetHeight([UIScreen mainScreen].bounds)
#define kMainScreenWidth  CGRectGetWidth([UIScreen mainScreen].bounds)


#define KeyWindow [UIApplication sharedApplication].keyWindow

#define WeakSelf(type)  __weak typeof(type) weak##type = type;
#define StrongSelf(type)  __strong typeof(type) type = weak##type;

//#define kCurrentUser  @"login_user"
#define kGesturePassword @"gesturePassWord"
#define kErrorCount @"errorCountNum"
#define kFingerPassword @"fingerSwitchOn"

#define kForgetGesture @"forgetGesture"
#define kCloseLoginVC @"closeLoginVC"
//保存用户名的数组
#define kAccountUserNameArray @"accountUserNameArray"

//判断设备是否是ipad
#define kDevice_iPad  [UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad

//消息推送通知
#define kPushMsgIINotification @"pushMsgNotification"
//跳转消息控制器
#define kGoToMessageVC @"goToMessageVC"
//跳转加息券
#define kGoToDiscountVC @"goToDiscountVC"
//下载地区文件版本号保存key
#define kDownLoadAddressVersion @"downLoadAddressVersion"
//下载车型文件版本号保存key
#define kDownloadCarModelVersion @"DownloadCarModelVersion"

//蜜柚圈
//#define kMunity_user_name @"munity_user_name"
//颜色值ff6e3f
#define kColorOrange [UIColor colorWithRed:255/255.0 green:110/255.0 blue:63/255.0 alpha:1.0]
//颜色值FF5D31
#define kColorDarkOrange [UIColor colorWithRed:255/255.0 green:93/255.0 blue:49/255.0 alpha:1.0]
//颜色值333333
#define kColorBlack  [UIColor colorWithRed:34/255.0 green:34/255.0 blue:34/255.0 alpha:1.0]
//颜色值8e8e8e
#define kColorGray   [UIColor colorWithRed:142/255.0 green:142/255.0 blue:142/255.0 alpha:1.0]
//颜色值AFAFAF
#define kColorAF  [UIColor colorWithRed:175/255.0 green:175/255.0 blue:175/255.0 alpha:1.0]
//颜色值F5F5F5
#define kColorF5  [UIColor colorWithRed:245/255.0 green:245/255.0 blue:245/255.0 alpha:1.0]
//颜色值F4F4F4
#define kColorF4  [UIColor colorWithRed:244/255.0 green:244/255.0 blue:244/255.0 alpha:1.0]
//返回按钮的默认颜色
#define kColorBackButtonColor [UIColor colorWithRed:101/255.0 green:101/255.0 blue:101/255.0 alpha:1.0]
//阴影颜色
#define kColorShadow [UIColor colorWithRed:200/255.0 green:200/255.0 blue:200/255.0 alpha:1.0]
//颜色值b5b5b5
#define kColorLightGray [UIColor colorWithRed:181/255.0 green:181/255.0 blue:181/255.0 alpha:1.0]

//颜色值dadada
#define kColorArrow  [UIColor colorWithRed:218/255.0 green:218/255.0 blue:218/255.0 alpha:1.0]
//颜色值f1f1f1
#define kColorLightGrayLine [UIColor colorWithRed:241/255.0 green:241/255.0 blue:241/255.0 alpha:1.0]
//颜色值efeff4
#define kColorBackground [UIColor colorWithRed:239/255.0 green:239/255.0 blue:244/255.0 alpha:1.0]
//颜色值4e8cee
#define kColorBlue [UIColor colorWithRed:78/255.0 green:140/255.0 blue:238/255.0 alpha:1.0]

#define kColorBankGreen [UIColor colorWithRed:75/255.0 green:199/255.0 blue:179/255.0 alpha:1.0]
//颜色值999999
#define kColor9         [UIColor colorWithRed:153/255.0 green:153/255.0 blue:153/255.0 alpha:1.0]

#endif /* MNDMacro_h */
